/**
* Vista asociada al contenido 
* del tab de la funcionalidad INFORMACION GENERAL
* en el aplicativo.
*/
Ext.define("entgpv11.view.MainContainer.Info", {
    extend: 'Ext.form.Panel',
    alias: "widget.info",
    config: {
        scrollable: 'vertical',
        layout: 'vbox',
        versionString: '0'
    },
    initialize: function () {
        this.callParent(arguments);
        var myVersion = this.getVersionString();
        var infoMore1 =
        {
            xtype: 'panel',
         
            html: '<center>Service Project  </center> <hr>'
        };

        if (myVersion != '0')
            infoMore1.html='<center>Service Project ' + this.getVersionString() + ' </center> <hr>';
        var imgTop =
		{
		    xtype: 'image',
		    src: 'resources/images/var/myfooter.png',
		    width: '16',
		    height: '14',
		    flex: 1
		};
        var infoMore2 =
        {
            xtype: 'panel',
            flex: 2,
            html: '<img src="resources/images/var/icodir.png" width="16" height="14" alt="icons" class="icons"/><a href="http://www.enovatraining.ec/">http://www.enovatraining.ec</a><br/><img src="resources/images/var/icomail.png" width="16" height="14" alt="icons" class="icons"/><p3>info@enovatraining.com</p3></br>					 <img src="resources/images/var/icotel.png" width="16" height="14" alt="icons" class="icons"/><p3>593-072-570275</p3>'
        };
        var infoMore3 =
        {
            xtype: 'panel',
            html: '<hr>'
        };

        this.add([infoMore1,
				{
				    xtype: "panel",
				    layout: 'hbox',
				    items: [imgTop, infoMore2]
				},
				infoMore3]);


    }
});